<?php

namespace app\border_agent;

use function json;

class Test
{
    public function index()
    {
//        $res = (new PowerInformationBorderAgent())->environmentCollect('24.0', '75', '3',
//            '4', '54', '99', '1');

//        $res = (new PowerInformationBorderAgent())->earlyWarnCollect('36700782', 'faceCount',
//            '320102333211212', '1', '', '320101200001231234');

        $res = (new PowerInformationBorderAgent())->personnelCollect(1, '320101200001231234',
            'owner', '普通员工', '13300001111', '汉', '',
            '男', '边缘代理对接项目部', '作业票0001', '');

        return json($res);
    }
}